#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/common/Params.h"

using namespace fxcc::graph::common;
using namespace fxcc::imgui;

template <>
bool Editor::Edit(const std::string& label, Params& inst)
{

    EditMapInst<float>("m_Floats", inst.m_Floats);
    EditMapInst<glm::vec2>("m_Vec2s", inst.m_Vec2s);
    ColorMapInst<glm::vec3>("m_Vec3s", inst.m_Vec3s);
    ColorMapInst<glm::vec4>("m_Vec4s", inst.m_Vec4s);

    EditMapInst<int>("m_Ints", inst.m_Ints);
    EditMapInst<glm::ivec2>("m_IVec2s", inst.m_IVec2s);
    EditMapInst<glm::ivec3>("m_IVec3s", inst.m_IVec3s);
    EditMapInst<glm::ivec4>("m_IVec4s", inst.m_IVec4s);

    return false;
}
